{extend name="base" /}
{block name="body"}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="{:url('/admin/agent')}">渠道游戏管理</a></li>
            <li class="layui-this">设置渠道对接参数</li>
        </ul>
        <div class="layui-tab-content">
            <form class="layui-form form-container" action="{:url('/admin/agent/saveData',['id'=>$gameagent['id']])}" method="post">
                {if condition="$gameagent.cid == 8"}
                    <div class="layui-form-item">
                        <label class="layui-form-label">Appid</label>
                        <div class="layui-input-block">
                            <input type="text" name="Appid" value="" required  lay-verify="required" placeholder="Appid" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">Appkey</label>
                        <div class="layui-input-block">
                            <input type="text" name="Appkey" value="" required  lay-verify="required" placeholder="Appkey" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">Channel</label>
                        <div class="layui-input-block">
                            <input type="text" name="Channel" value="" required  lay-verify="required" placeholder="Channel" class="layui-input">
                        </div>
                    </div>
                {elseif condition="$gameagent.cid == 7"}
                    <div class="layui-form-item">
                        <label class="layui-form-label">游戏代号</label>
                        <div class="layui-input-block">
                            <input type="text" name="game_code" value="" required  lay-verify="required" placeholder="游戏代号" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">登录密钥（游戏管理中对接参数登录key）</label>
                        <div class="layui-input-block">
                            <input type="text" name="Appkey" value="" required  lay-verify="required" placeholder="登录密钥" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">支付密钥（游戏管理中对接参数支付key）</label>
                        <div class="layui-input-block">
                            <input type="text" name="Paykey" value="" required  lay-verify="required" placeholder="支付密钥" class="layui-input">
                        </div>
                    </div>
                {elseif condition="$gameagent.cid == 9"}
                    <div class="layui-form-item">
                        <label class="layui-form-label">7724游戏id</label>
                        <div class="layui-input-block">
                            <input type="text" name="game_id" value="" required  lay-verify="required" placeholder="7724游戏id" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">7724平台唯一id</label>
                        <div class="layui-input-block">
                            <input type="text" name="game_code" value="" required  lay-verify="required" placeholder="7724平台唯一id" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">7724签名key</label>
                        <div class="layui-input-block">
                            <input type="text" name="Appkey" value="" required  lay-verify="required" placeholder="7724签名key" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">7724游戏标识</label>
                        <div class="layui-input-block">
                            <input type="text" name="Paykey" value="" required  lay-verify="required" placeholder="7724游戏标识" class="layui-input">
                        </div>
                    </div>
                {elseif condition="$gameagent.cid == 10"}
                    <div class="layui-form-item">
                        <label class="layui-form-label">飞火游戏id</label>
                        <div class="layui-input-block">
                            <input type="text" name="game_id" value="" required  lay-verify="required" placeholder="飞火游戏id" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">飞火登录key</label>
                        <div class="layui-input-block">
                            <input type="text" name="Loginkey" value="" required  lay-verify="required" placeholder="飞火登录key" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">飞火支付key</label>
                        <div class="layui-input-block">
                            <input type="text" name="Paykey" value=""  required  lay-verify="required" placeholder="飞火支付key" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">飞火ApiKey</label>
                    <div class="layui-input-block">
                        <input type="text" name="ApiKey" value="" required  lay-verify="required" placeholder="飞火ApiKey" class="layui-input">
                    </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">飞火SecretKey</label>
                        <div class="layui-input-block">
                            <input type="text" name="SecretKey" value="" required  lay-verify="required" placeholder="飞火SecretKey" class="layui-input">
                        </div>
                    </div>
                {elseif condition="$gameagent.cid == 11"}
                    <div class="layui-form-item">
                        <label class="layui-form-label">七七手游GameSecret</label>
                        <div class="layui-input-block">
                                <input type="text" name="Appkey" value="" required  lay-verify="required" placeholder="七七手游GameSecret" class="layui-input">
                        </div>
                    </div>
                {elseif condition="$gameagent.cid == 12"}
                    <div class="layui-form-item">
                        <label class="layui-form-label">flash2144游戏key</label>
                        <div class="layui-input-block">
                            <input type="text" name="Appkey" value="" required  lay-verify="required" placeholder="flash2144游戏key" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">flash2144游戏secret</label>
                        <div class="layui-input-block">
                            <input type="text" name="secret" value="" required  lay-verify="required" placeholder="flash2144游戏secret" class="layui-input">
                        </div>
                    </div>
                {elseif condition="$gameagent.cid == 13"}
                    <div class="layui-form-item">
                        <label class="layui-form-label">多游APPID</label>
                        <div class="layui-input-block">
                            <input type="text" name="APPID" value="" required  lay-verify="required" placeholder="多游APPID" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">多游APPKEY</label>
                        <div class="layui-input-block">
                            <input type="text" name="APPKEY" value="" required  lay-verify="required" placeholder="多游APPKEY" class="layui-input">
                        </div>
                    </div>
                {elseif condition="$gameagent.cid == 14"}
                    <div class="layui-form-item">
                        <label class="layui-form-label">紫霞game_key</label>
                        <div class="layui-input-block">
                            <input type="text" name="game_key" value="" required  lay-verify="required" placeholder="紫霞game_key" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">紫霞登录key</label>
                        <div class="layui-input-block">
                            <input type="text" name="L_key" value="" required  lay-verify="required" placeholder="紫霞登录key" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">紫霞支付key</label>
                        <div class="layui-input-block">
                            <input type="text" name="P_key" value="" required  lay-verify="required" placeholder="紫霞支付key" class="layui-input">
                        </div>
                    </div>
                {elseif condition="$gameagent.cid == 15"}
                    <div class="layui-form-item">
                        <label class="layui-form-label">阅文游戏id</label>
                        <div class="layui-input-block">
                            <input type="text" name="game_id" value="" required  lay-verify="required" placeholder="阅文游戏id" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">阅文实名businessId</label>
                        <div class="layui-input-block">
                            <input type="text" name="businessId" value="" required  lay-verify="required" placeholder="阅文实名businessId" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">阅文签名key</label>
                        <div class="layui-input-block">
                            <input type="text" name="APPKEY" value="" required  lay-verify="required" placeholder="阅文签名key" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">阅文ywguid</label>
                        <div class="layui-input-block">
                            <input type="text" name="ywguid" value="" required  lay-verify="required" placeholder="阅文ywguid" class="layui-input">
                        </div>
                    </div>
                {elseif condition="$gameagent.cid == 16"}
                    <div class="layui-form-item">
                        <label class="layui-form-label">游戏id</label>
                        <div class="layui-input-block">
                            <input type="text" name="game_id" value="" required  lay-verify="required" placeholder="游戏id" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">登录、查询key</label>
                        <div class="layui-input-block">
                            <input type="text" name="game_key" value="" required  lay-verify="required" placeholder="登录、查询key" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">充值key</label>
                        <div class="layui-input-block">
                            <input type="text" name="P_key" value="" required  lay-verify="required" placeholder="充值key" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">内嵌充值key</label>
                        <div class="layui-input-block">
                            <input type="text" name="APPKEY" value="" required  lay-verify="required" placeholder="内嵌充值key" class="layui-input">
                        </div>
                    </div>
                {elseif condition="$gameagent.cid == 17"}
                    <div class="layui-form-item">
                        <label class="layui-form-label">7723游戏id</label>
                        <div class="layui-input-block">
                            <input type="text" name="gameid" value="" required  lay-verify="required" placeholder="7723游戏id" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">appid</label>
                        <div class="layui-input-block">
                            <input type="text" name="appid" value="" required  lay-verify="required" placeholder="appid" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">7723 APPKEY</label>
                        <div class="layui-input-block">
                            <input type="text" name="APPKEY" value="" required  lay-verify="required" placeholder="7723 APPKEY" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">7723 agentid</label>
                        <div class="layui-input-block">
                            <input type="text" name="agentid" value="" required  lay-verify="required" placeholder="7723 agentid" class="layui-input">
                        </div>
                    </div>

                {elseif condition="$gameagent.cid == 18"}
                    <div class="layui-form-item">
                        <label class="layui-form-label">游戏id</label>
                        <div class="layui-input-block">
                            <input type="text" name="gameid" value="" required  lay-verify="required" placeholder="7723游戏id" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">游戏KEY</label>
                        <div class="layui-input-block">
                            <input type="text" name="APPKEY" value="" required  lay-verify="required" placeholder="游戏KEY" class="layui-input">
                        </div>
                    </div>

                {elseif condition="$gameagent.cid == 19"}
                    <div class="layui-form-item">
                        <label class="layui-form-label">360 gkey</label>
                        <div class="layui-input-block">
                            <input type="text" name="gameid" value="" required  lay-verify="required" placeholder="360 gkey" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">登录KEY</label>
                        <div class="layui-input-block">
                            <input type="text" name="LKEY" value="" required  lay-verify="required" placeholder="登录KEY" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">支付KEY:</label>
                        <div class="layui-input-block">
                            <input type="text" name="PKEY" value="" required  lay-verify="required" placeholder="支付KEY" class="layui-input">
                        </div>
                    </div>
                {elseif condition="$gameagent.cid == 20"}
                    <div class="layui-form-item">
                        <label class="layui-form-label">虎扑appid</label>
                        <div class="layui-input-block">
                            <input type="text" name="appid" value="" required  lay-verify="required" placeholder="虎扑appid" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">虎扑密钥</label>
                        <div class="layui-input-block">
                            <input type="text" name="APPKEY" value="" required  lay-verify="required" placeholder="虎扑密钥" class="layui-input">
                        </div>
                    </div>
                {elseif condition="$gameagent.cid == 22"}
                    <div class="layui-form-item">
                        <label class="layui-form-label">游戏id</label>
                        <div class="layui-input-block">
                            <input type="text" name="gameid" value="" required  lay-verify="required" placeholder="游戏id" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">密钥</label>
                        <div class="layui-input-block">
                            <input type="text" name="APPKEY" value="" required  lay-verify="required" placeholder="密钥" class="layui-input">
                        </div>
                    </div>
                {/if}

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit lay-filter="*">保存</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
{/block}
